type JSDynamicObject = any;
let value1 : number = 0b001;
console.log (value1);
let value2 : number = 0o001;
console.log (value2);
let value3 : number = 0x011;
console.log (value3);
let value4 : number = 4;
console.log (value4);
let notvalue1 : number = ~ 0b001;
console.log (notvalue1);
let notvalue2 : number = ~ 0o001;
console.log (notvalue2);
let notvalue3 : number = ~ 0x011;
console.log (notvalue3);
let notvalue4 : number = ~ 4;
console.log (notvalue4);
let orvalue1 : number = 0b10 | 0b001;
console.log (orvalue1);
let orvalue2 : number = 0o10 | 0o001;
console.log (orvalue2);
let orvalue3 : number = 0x10 | 0x011;
console.log (orvalue3);
let orvalue4 : number = 1 | 4;
console.log (orvalue4);
let xorvalue1 : number = 0b10 ^ 0b001;
console.log (xorvalue1);
let xorvalue2 : number = 0o10 ^ 0o001;
console.log (xorvalue2);
let xorvalue3 : number = 0x10 ^ 0x011;
console.log (xorvalue3);
let xorvalue4 : number = 1 ^ 4;
console.log (xorvalue4);
let andvalue1 : number = 0b10 & 0b001;
console.log (andvalue1);
let andvalue2 : number = 0o10 & 0o001;
console.log (andvalue2);
let andvalue3 : number = 0x10 & 0x011;
console.log (andvalue3);
let andvalue4 : number = 1 & 4;
console.log (andvalue4);
var obj1 : JSDynamicObject = new Object ();
obj1.prop = 1;
let value11 : number = ~ obj1.prop;
console.log (value11);
var obj2 : JSDynamicObject = new Object ();
obj2.prop = 1;
let value12 : number = 123 ^ obj2.prop;
console.log (value12);
var obj3 : JSDynamicObject = new Object ();
obj3.prop = 1;
let value13 : number = 123 | obj3.prop;
console.log (value13);
var obj4 : JSDynamicObject = new Object ();
obj4.prop = 1;
let value14 : number = 123 & obj4.prop;
console.log (value14);
